package com.xl.optimize.second;

public class Coffee {
    public void prepareCoffee(){
        boilWater();
        brewCoffeeGrinds();
        pourInCup();
        addCondiments();
    }

    private void boilWater(){
    System.out.println("Boiling water");
    }

    private void brewCoffeeGrinds(){
    System.out.println("Brewing coffee grinds");
    }

    private void pourInCup(){
    System.out.println("Pouring into cup");
    }

    private void addCondiments(){
    System.out.println("Adding sugar and milk");
    }
}

